// 
// $Rev:: 18            $:  Revision of last commit
// $Author:: rvhaverm@g#$:  Author of last commit
// $Date:: 2010-07-25 1#$:  Date of last commit
// 
package agents.listeners;

import agents.interfaces.IAgent;
import agents.interfaces.IAgentEventListener;
import agents.interfaces.IMessage;

import com.ibm.aglet.event.CloneEvent;
import com.ibm.aglet.event.MobilityEvent;
import com.ibm.aglet.event.PersistencyEvent;

public class BaseAgentEventListener implements IAgentEventListener
{

    /**
     * 
     */
    private static final long serialVersionUID = 8380822257872598827L;

    @Override
    public void onArrival(MobilityEvent event)
    {
    }

    @Override
    public void onDispatching(MobilityEvent event)
    {
    }

    @Override
    public void onReverting(MobilityEvent event)
    {
    }

    @Override
    public void onActivation(PersistencyEvent event)
    {
    }

    @Override
    public void onDeactivating(PersistencyEvent event)
    {
    }

    @Override
    public void onClone(CloneEvent event)
    {
    }

    @Override
    public void onCloned(CloneEvent event)
    {
    }

    @Override
    public void onCloning(CloneEvent event)
    {
    }

    @Override
    public void onCreation(IAgent agent, Object init)
    {	
    }

    @Override
    public void onDisposing(IAgent agent)
    {	
    }

    @Override
    public boolean onMessageReceived(IAgent agent, IMessage msg)
    {
	return true;
    }

}
